﻿<%@ Page Title="" Language="C#" MasterPageFile="~/CricketAdmin.master" AutoEventWireup="true"
    CodeFile="ClientLogout.aspx.cs" Inherits="ClientLogout" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="Server">
    <div class="container-fluid">
        <h3 class="page-title">
            Logout Client<small></small> &nbsp;&nbsp;<asp:Button ID="btnAllLogout" runat="server" Text="Logout All" Font-Bold="true" OnClick="btnAllLogout_Click"
                CssClass="btn red" />
        </h3>
        <%-- <div class="row-fluid">
        <ul class="breadcrumb">
            <li><i class="icon-home"></i>Home<span class="icon-angle-right"> </span></li>
            <li>Client<span class="icon-angle-right"></span></li>
            <li>View All</li>
        </ul>
    </div>--%>
        
        <br />
        <div id="divRed" runat="server">
        </div>
        <div id="divGreen" runat="server">
        </div>
        <div class="row-fluid">
            <div class="span12">
                <div class="portlet box blue">
                    <div class="portlet-title">
                        <div class="caption">
                            <i class="icon-globe"></i>Logout Client</div>
                        <%--<div class="tools">
                        <a href="javascript:;" class="collapse"></a><a href="#portlet-config" data-toggle="modal"
                            class="config"></a><a href="javascript:;" class="reload"></a><a href="javascript:;"
                                class="remove"></a>
                    </div>--%>
                    </div>
                    <div class="portlet-body">
                        <div class="table-toolbar">
                        </div>
                        <table class="table table-striped table-hover table-bordered" id="sample_editable_1">
                            <thead>
                                <tr>
                                    <th>
                                        Username
                                    </th>
                                    <th>
                                        Client Name
                                    </th>
                                    <th>
                                        Actions
                                    </th>
                                </tr>
                            </thead>
                            <tbody>
                                <asp:Repeater ID="rptClient" runat="server" OnItemCommand="rptClient_ItemCommand">
                                    <ItemTemplate>
                                        <tr>
                                            <td>
                                                <asp:Label ID="hdnClientId" Style="display: none;" runat="server" Text='<%#Eval("Id") %>'></asp:Label>
                                                <asp:Label ID="lblFirstName" runat="server" Text='<%# Eval("Username") %>'></asp:Label>
                                            </td>
                                            <td>
                                                <asp:Label ID="lblLastName" runat="server" Text='<%#Eval("ClientName") %>'></asp:Label>
                                            </td>
                                            <td>
                                                <asp:Button ID="btnLogout" runat="server" CssClass="btn blue" Text="Logout" CommandName="Logout" />
                                            </td>
                                        </tr>
                                    </ItemTemplate>
                                </asp:Repeater>
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
        </div>
    </div>
</asp:Content>
